package com.desire.dao.imp;

import com.desire.dao.UserDao;
import com.desire.pojo.User;
import com.desire.utils.DbUtils;

import java.util.List;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-29 周五 10:07
 * @since 17
 */
public class UserDaoImpl implements UserDao {
    @Override
    public List<User> query(Integer id) {
        return DbUtils.getInstance().openSession().selectList("com.desire.dao.UserDao.query",id);
    }
}
